package com.inossem.warehousestorage_inossem.bean.refundStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * 作者：wsy on 2017/12/19 11:19
 * <p>
 * 邮箱：445979770@qq.com
 */

public class RefundStorageNewBatchBean extends Bean {
    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"supplierList":[{"supplierCode":"1001","supplierDescription":"北京供应商描述"},{"supplierCode":"1002","supplierDescription":"沈阳供应商描述"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        private List<BatchBean> batch;

        public List<BatchBean> getBatch() {
            return batch;
        }

        public void setBatch(List<BatchBean> batch) {
            this.batch = batch;
        }

        public static class BatchBean {
            /**
             * id : 1
             * name : 名称1
             * required : 1
             * type : 0
             * hint : 请输入
             * value :
             * text : 北京三里屯
             * select : [{"value":"01","text":"沈阳"}]
             */

            private String id;
            private String name;
            private String required;
            private String type;
            private String hint;
            private String value;
            private String text;
            private List<SelectBean> select;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getRequired() {
                return required;
            }

            public void setRequired(String required) {
                this.required = required;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getHint() {
                return hint;
            }

            public void setHint(String hint) {
                this.hint = hint;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public List<SelectBean> getSelect() {
                return select;
            }

            public void setSelect(List<SelectBean> select) {
                this.select = select;
            }

            public static class SelectBean {
                /**
                 * value : 01
                 * text : 沈阳
                 */

                private String value;
                private String text;

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }
            }
        }
    }
}
